package cn.zymall.scheduled.service;

import cn.zymall.common.model.SysTask;
import cn.zymall.common.model.TaskAdminView;
import com.baomidou.mybatisplus.extension.service.IService;
import com.github.pagehelper.PageInfo;

/**
 * @author xuxianda
 * @Description: 商品任务业务接口
 * @date 2020/8/19 16:55
 * @Copyright
 * @return
 **/
public interface TaskService extends IService<SysTask> {

    /**
     * 查询单条待处理任务记录
     * @return
     */
    public SysTask selectWaitTask();

    public PageInfo select(Integer page, Integer rows, TaskAdminView taskAdminView);
}
